<extend name="Public/base" />

<block name="body">
<div class="main-title">
	<h2>用户提现</h2>
</div>

<div class="data-table table-striped">
	<form>
		<table>
			<thead>
				<tr>
					<th>用户</th>
					<th>金额</th>
					<th>银行卡号</th>
					<th>开户行</th>
					<th>户名</th>
					<th>状态</th>
					<th>申请时间</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<notempty name="clist"> <volist name="clist" id="list">
				<tr>
					<td>{$list.nickname}</td>
					<td>{$list.money}</td>
					<td>{$list.card_no}</td>
					<td>{$list.bank_title}</td>
					<td>{$list.true_name}</td>
					<td>{$list.status_text}</td>
					<td><notempty name="list.applytime">
						{$list.applytime|time_format} </notempty></td>
					<td><a title="编辑" href="{:U('edit?id='.$list['id'])}">编辑</a> </td>
				</tr>
				</volist> <else />
				<td colspan="10" class="text-center">aOh! 暂时还没有内容!</td>
				</notempty>
			</tbody>
		</table>
	</form>
	<!-- 分页 -->
	<div class="page">{$_page}</div>
</div>
</block>

<block name="script"> <script type="text/javascript">
        $(function() {
            //搜索功能
            $("#search").click(function() {
                var url = $(this).attr('url');
                var query = $('.search-form').find('input').serialize();
                query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g, '');
                query = query.replace(/^&/g, '');
                if (url.indexOf('?') > 0) {
                    url += '&' + query;
                } else {
                    url += '?' + query;
                }
                window.location.href = url;
            });
            //回车搜索
            $(".search-input").keyup(function(e) {
                if (e.keyCode === 13) {
                    $("#search").click();
                    return false;
                }
            });
            //导航高亮
            highlight_subnav('{:U('Cash/index')}');
        });
    </script> </block>